home *** CD-ROM | disk | FTP | other *** search
- #pragma once
-
- #define FS_SIGNATURE 'zzz0'
- #define GESTALT_ADD_CALLBACK 'gACA'
- #define GESTALT_REMOVE_CALLBACK 'gRCA'
-
- enum {
- kCreateFlag
- };
-
- typedef struct FWData
- {
- short theTrapId;
- short theVRefNum;
- long theParID;
- Str63 theString;
- OSType theFileType;
- } FWData, *FWDataPtr;
-
- typedef struct FWSubscribe
- {
- short theAction;
- long *theCallbackAddr;
- } FWSubscribe, *FWSubscribePtr;
-
- asm void PrologGlue();
- asm void EpilogGlue();
- pascal void MyCreateCallback( FWData theFWData );
- void Subscribe();
- void Unsubscribe();
-
-